//
//  UtilsFunction.h
//  Massage
//
//  Created by hujlhappy on 13-7-29.
//  Copyright (c) 2013年 jiangtao. All rights reserved.
//

#import <Foundation/Foundation.h>

#define URL_KEY @"url_key"
#define PRODUCT_LAST_UPDATE_TIME @"prodctLastUpdateTime"
#define ROOM_LAST_UPDATE_TIME @"roomLastUpdateTime"
#define CURRENT_USER_ID @"userId"
#define CURRENT_USER_NAME @"userName"

@interface UtilsFunction : NSObject

+(NSString *)getMacAddress;
+(void) saveURL:(NSString *)strURL;
+(NSString *)getURL;

+(void) setProductLastUpdateTime:(NSString *)lastUpdateTime;
+(NSString *)getProductLastUpdateTime;
+(void) setRoomLastUpdateTime:(NSString *)lastUpdateTime;
+(NSString *)getRoomLastUpdateTime;

+(void) setUserId:(NSString *)userId;
+(NSString *)getUserId;
+(void) setUserName:(NSString *)userName;
+(NSString *)getUserName;

+(NSString *)getDocumentDirectory;
+(void)unZipFile:(NSString *)zipPath unZip:(NSString *)unZipPath;
+(void)deleteFolder:(NSString *)folderPath;

+(void)showHUDAdjustWidth:(NSString *)message;

@end
